package com.scu.gkvr_system_backend.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.scu.gkvr_system_backend.pojo.Majors;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.scu.gkvr_system_backend.vo.MajorsGetListVO;
import org.apache.ibatis.annotations.Param;


public interface MajorsMapper extends BaseMapper<Majors> {

    IPage<MajorsGetListVO> getListMajors(@Param("page1") Page page1, @Param("degreesName") String degreesName);

    Page<MajorsGetListVO> searchByName(@Param("page") Page page,@Param("majorName") String majorName);
}




